IMInterstitial Class Reference
| Inherits from | NSObject |
| Declared in | IMInterstitial.h |
Properties
delegate
The delegate to receive callbacks
@property (nonatomic, weak) id<IMInterstitialDelegate> delegateDiscussion
The delegate to receive callbacks
Declared In
IMInterstitial.hextras
Any additional information to be passed to InMobi.
@property (nonatomic, strong) NSDictionary *extrasDiscussion
Any additional information to be passed to InMobi.
Declared In
IMInterstitial.hkeywords
A free form set of keywords, separated by ‘,’ to be sent with the ad request. E.g: “sports,cars,bikes”
@property (nonatomic, strong) NSString *keywordsDiscussion
A free form set of keywords, separated by ‘,’ to be sent with the ad request. E.g: “sports,cars,bikes”
Declared In
IMInterstitial.hInstance Methods
initWithPlacementId:
Initialize an Interstitial with the given PlacementId
- (instancetype)initWithPlacementId:(long long)placementIdParameters
- placementId
The placementId for loading the interstitial
Discussion
Initialize an Interstitial with the given PlacementId
Declared In
IMInterstitial.hinitWithPlacementId:delegate:
Initialize an Interstitial with the given PlacementId
- (instancetype)initWithPlacementId:(long long)placementId delegate:(id<IMInterstitialDelegate>)delegateParameters
- placementId
The placementId for loading the interstitial
- delegate
The delegate to receive callbacks
Discussion
Initialize an Interstitial with the given PlacementId
Declared In
IMInterstitial.hisReady
To query if the interstitial is ready to be shown
- (BOOL)isReadyDiscussion
To query if the interstitial is ready to be shown
Declared In
IMInterstitial.hload
Loads an Interstitial
- (void)loadDiscussion
Loads an Interstitial
Declared In
IMInterstitial.hshowFromViewController:
Displays the interstitial on the screen
- (void)showFromViewController:(UIViewController *)viewControllerParameters
- viewController,
this view controller will be used to present interestitial.
Discussion
Displays the interstitial on the screen
Declared In
IMInterstitial.hshowFromViewController:withAnimation:
Displays the interstitial on the screen
- (void)showFromViewController:(UIViewController *)viewController withAnimation:(IMInterstitialAnimationType)typeParameters
- type
The transition type for interstitial presentation.
- viewController,
this view controller will be used to present interestitial.
Discussion
Displays the interstitial on the screen
Declared In
IMInterstitial.h